package hl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldTQ extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldCQ Quantity;
	public EDC_HL7FldRI Interval;
	public EDC_HL7FldST Duration;
	public EDC_HL7FldTS StartDateTime;
	public EDC_HL7FldTS EndDateTime;
	public EDC_HL7FldST Priority;
	public EDC_HL7FldST Condition;
	public EDC_HL7FldTX Text;
	public EDC_HL7FldST Conjunction;
	public EDC_HL7FldST OrderSequencing;
	public EDC_HL7FldCE OccurrenceDuration;
	public EDC_HL7FldR8 TotalOccurrences;

	//Constructor
	public EDC_HL7FldTQ(MessageElement elem) {
		super(elem);
		Quantity = new EDC_HL7FldCQ(elem.getElementAt("Quantity"));
		Interval = new EDC_HL7FldRI(elem.getElementAt("Interval"));
		Duration = new EDC_HL7FldST(elem.getElementAt("Duration"));
		StartDateTime = new EDC_HL7FldTS(elem.getElementAt("StartDateTime"));
		EndDateTime = new EDC_HL7FldTS(elem.getElementAt("EndDateTime"));
		Priority = new EDC_HL7FldST(elem.getElementAt("Priority"));
		Condition = new EDC_HL7FldST(elem.getElementAt("Condition"));
		Text = new EDC_HL7FldTX(elem.getElementAt("Text"));
		Conjunction = new EDC_HL7FldST(elem.getElementAt("Conjunction"));
		OrderSequencing = new EDC_HL7FldST(elem.getElementAt("OrderSequencing"));
		OccurrenceDuration = new EDC_HL7FldCE(elem.getElementAt("OccurrenceDuration"));
		TotalOccurrences = new EDC_HL7FldR8(elem.getElementAt("TotalOccurrences"));
	}

}
